﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NJL.WebManage.Company
{
    public partial class ShopClaimData : BasePage
    {
        NJL.BLL.NJL_REG_COMPANY_APPLY bll = new BLL.NJL_REG_COMPANY_APPLY();
        protected NJL.Model.NJL_REG_COMPANY_APPLY model;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["id"] != null && Request.QueryString["id"] != "")
            {
                model = bll.GetModel(Request.QueryString["id"]);
                if (!string.IsNullOrEmpty(model.APPLY_FILE_CODE_01))
                {
                    Image1.ImageUrl = GetImageUrl(model.APPLY_FILE_CODE_01);
                }
                else
                {
                    Image1.Visible = false;
                }
                if (!string.IsNullOrEmpty(model.APPLY_FILE_CODE_02))
                {

                    Image2.ImageUrl = GetImageUrl(model.APPLY_FILE_CODE_02);
                }
                else
                {
                    Image2.Visible = false;
                }
            }
        }
    }
}